package com.netcracker.studportal.server.dao;

import java.util.Collection;

import com.netcracker.studportal.server.model.Exam;
import com.netcracker.studportal.server.model.Material;

public interface MaterialDAO {	
	public void Add(Material material) throws Exception;
	public void Update(Material material) throws Exception;
	public Material getById(Long id) throws Exception;
	public void Delete(Material material) throws Exception;
	public Collection<Material> getAll() throws Exception;
	public Collection<Material> getMaterialsByExam(Exam ex) throws Exception;
	
}
